﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ExamSelect.aspx.cs" Inherits="ExamSelect" MasterPageFile="~/Site.master"
    Title="选择考试"%>

<asp:Content ContentPlaceHolderID="HeadContent" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">
            报名步骤：<label style="color: Red">1.选择考试</label>&gt&gt;2.确认基本信息 &gt;&gt; 3.选择考试级别&gt;&gt;4.确认报名信息&gt;&gt; 5.确认缴费信息&gt;&gt; 6. 报名完成</strong> </div>
    </div>
    <hr />
    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">可选择的考试</strong> / <small>列表</small></div>
    </div>
    <div class="am-g">
        <div class="am-u-sm-12">
            <asp:GridView ID="gv" runat="server" DataKeyNames="EmID,EmYear,EmNum,EmLimitGrade,TimeID" PageSize="10" AllowPaging="True" AutoGenerateColumns="false" CssClass="am-table am-table-striped am-table-hover table-main"  GridLines="None" OnRowDataBound="goApply_RowDataBound">
                <Columns>
                    <asp:TemplateField HeaderText="序号">
                        <HeaderStyle Width="60px"></HeaderStyle>
                        <ItemTemplate>
                            <%# Container.DataItemIndex + 1%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="EmAllName" HeaderText="考试名称" ItemStyle-Width="30em" />
                    <asp:BoundField DataField="ApplyBeginTime" ItemStyle-Width="20em" DataFormatString="{0:yyyy-MM-dd}" HeaderText="报名开始时间" />
                    <asp:BoundField DataField="ApplyEndTime" ItemStyle-Width="20em" DataFormatString="{0:yyyy-MM-dd }" HeaderText="报名结束时间" />
                    <asp:BoundField DataField="EmLimitGrade" HeaderText="允许考试年级" ItemStyle-Width="10em" />
                   <asp:TemplateField HeaderText="操作" ItemStyle-Width="240px">
                        <ItemTemplate>
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <asp:HyperLink runat="server" ID="goApply" CssClass="am-btn am-btn-default am-btn-xs am-text-secondary"  ><span class="am-icon-pencil-square-o"></span>报名</asp:HyperLink>
                                    <asp:Label runat="server" ID="lbTips" Visible="false"></asp:Label>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <PagerSettings Visible="False" />
            </asp:GridView>
         
            <hr />
            <p>注：.....</p>
        </div>
    </div>
</asp:Content>
    


